package org.example.publisherrealtime.service;

import org.example.publisherrealtime.bean.NameValue;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@Service
public interface PublisherService {

    //转换数据格式
    List<NameValue> transForm(List<NameValue> searchResult, String t);

    //调用的方法需要在service层做具体实现
    Map<String, Object> doDauRealtime(String td);

    List<NameValue> dostatByItem(String itemName, String date, String t);

    Map<String, Object> doDetailByItem(String itemName, String date, Integer pageNo, Integer pageSize);
}
